package com.hopu.v1.service.admin.system.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hopu.v1.dto.RoleOrganizationDto;
import com.hopu.v1.mapper.admin.system.RoleOrganizationMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RoleOrganizationServiceImpl  {
    @Autowired
    private RoleOrganizationMapper roleOrganizationMapper;

    public IPage<RoleOrganizationDto> selectRoleOrganization(Page<RoleOrganizationDto> page,String roleName) {

        return roleOrganizationMapper.selectRoleOrganization(page,roleName);
    }
}
